﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneSpider.Models.ResultModel
{
    public class AnswerDetailResult
    {
        [JsonProperty(PropertyName = "question_id")]
        public int QuestionId { get; set; }

        [JsonProperty(PropertyName = "question_title")]
        public string QuestionTitle { get; set; }

        [JsonProperty(PropertyName = "question_content")]
        public string QuestionContent { get; set; }

        [JsonProperty(PropertyName = "answer_title")]
        public string AnswerTitle { get; set; }

        [JsonProperty(PropertyName = "answer_content")]
        public string AnswerContent { get; set; }

        [JsonProperty(PropertyName = "question_makettime")]
        public DateTime MakeTime { get; set; }

        [JsonProperty(PropertyName = "recommend_flag")]
        public string RecommendFlag { get; set; }

        /// <summary>
        /// 责任编辑
        /// </summary>
        [JsonProperty(PropertyName = "charge_edt")]
        public string ChargeEditor { get; set; }

        [JsonProperty(PropertyName = "charge_email")]
        public string ChargeEmail { get; set; }

        [JsonProperty(PropertyName = "last_update_date")]
        public DateTime LastUpdateDate { get; set; }

        [JsonProperty(PropertyName = "web_url")]
        public string WebUrl { get; set; }

        //[JsonProperty(PropertyName = "read_num")]
        //public string ReadNum { get; set; }

        //[JsonProperty(PropertyName = "guide_word")]
        //public string GuideWord { get; set; }

        //[JsonProperty(PropertyName = "audio")]
        //public string Audio { get; set; }
        
        [JsonProperty(PropertyName = "next_id")]
        public int NextId { get; set; }

        [JsonProperty(PropertyName = "prev_id")]
        public int PrevId { get; set; }

    }
}
